/* 
 * File:   main.cpp
 * Author: oxplay
 *
 * Created on 25 kwiecień 2012, 11:34
 */
#include <iostream>
#include <cstdlib>
#include <math.h>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {
    int i, j;
    long double sum1 = 0;
    for (i = 1; i < 100; i++) {
        long double sum2 = 0;
        for (j = 5; j < 300; j++) {
            sum2 += cos(i * i + sqrt(j)); // wedle sjaldu o ile sie nie pomylilem
        }
        sum1 += sum2;
    }
    cout << "Wynik: " << sum1 << endl;
    return 0;
}

